package com.xs.listener;

import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.cloud.stream.messaging.Sink;
import org.springframework.stereotype.Component;

@Component
public class BasicListener {
	@StreamListener(Sink.INPUT)
	public void handle(String body) {
		System.out.println("BasicListener handle: " + body);
	}
}
